Skip to main content

ModifyVulTarget

Description

modify the scope of host assets for detecting the specified vulnerability type in the vulnerability management configuration.

Request Method

POST

Request Path

/apsara/route/Sas/ModifyVulTarget

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
TargetBODYstringNoNo sample value for this parameter.Specify the host asset and describe it in JSON format. For details, see the request example.
regionIdBODYstringYesNo sample value for this parameter.region id
ConfigBODYstringNoNo sample value for this parameter.vulnerability classification information, expressed in JSON format. For example,{"vulType":"cve"} indicates Linux software vulnerability classification.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstringno demo valuerequest ID.

Example

Successful Response example

{
"RequestId":"no demo value"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}